<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/YLPublicService" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/YLPublicService" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import schemaLocation="http://localhost:2500/AdminService.svc?xsd=xsd4" namespace="http://schemas.datacontract.org/2004/07/System.Data.Linq" />
  <xs:complexType name="WorkItemStatus">
    <xs:sequence>
      <xs:element minOccurs="0" name="WorkItems" nillable="true" type="tns:ArrayOfWorkItem" />
      <xs:element minOccurs="0" name="discription" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="status" type="xs:int" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="WorkItemStatus" nillable="true" type="tns:WorkItemStatus" />
  <xs:complexType name="ArrayOfWorkItem">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="WorkItem" nillable="true" type="tns:WorkItem" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfWorkItem" nillable="true" type="tns:ArrayOfWorkItem" />
  <xs:complexType name="WorkItem">
    <xs:sequence>
      <xs:element minOccurs="0" name="DBTime" type="xs:dateTime" />
      <xs:element minOccurs="0" name="ItemID" type="xs:int" />
      <xs:element minOccurs="0" name="PhotoServerRelativePath" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Status" type="xs:int" />
      <xs:element minOccurs="0" name="TemplateName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Time" type="xs:dateTime" />
      <xs:element minOccurs="0" name="UsersItems" nillable="true" type="tns:ArrayOfUsersItem" />
      <xs:element minOccurs="0" name="WorkItemStatus" nillable="true" type="tns:WorkItemStatus" />
      <xs:element minOccurs="0" name="boyName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="grilName" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="WorkItem" nillable="true" type="tns:WorkItem" />
  <xs:complexType name="ArrayOfUsersItem">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="UsersItem" nillable="true" type="tns:UsersItem" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfUsersItem" nillable="true" type="tns:ArrayOfUsersItem" />
  <xs:complexType name="UsersItem">
    <xs:sequence>
      <xs:element minOccurs="0" name="ItemID" type="xs:int" />
      <xs:element minOccurs="0" name="User" nillable="true" type="tns:User" />
      <xs:element minOccurs="0" name="UserID" type="xs:int" />
      <xs:element minOccurs="0" name="WorkItem" nillable="true" type="tns:WorkItem" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="UsersItem" nillable="true" type="tns:UsersItem" />
  <xs:complexType name="User">
    <xs:sequence>
      <xs:element minOccurs="0" name="Enabled" type="xs:boolean" />
      <xs:element minOccurs="0" name="LoginName" nillable="true" type="xs:string" />
      <xs:element xmlns:q1="http://schemas.datacontract.org/2004/07/System.Data.Linq" minOccurs="0" name="PassWord" nillable="true" type="q1:Binary" />
      <xs:element minOccurs="0" name="ServerUserAndUsers" nillable="true" type="tns:ArrayOfServerUserAndUser" />
      <xs:element minOccurs="0" name="UserAccount" nillable="true" type="tns:UserAccount" />
      <xs:element minOccurs="0" name="UserID" type="xs:int" />
      <xs:element minOccurs="0" name="UserName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="UsersItems" nillable="true" type="tns:ArrayOfUsersItem" />
      <xs:element minOccurs="0" name="memo" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="User" nillable="true" type="tns:User" />
  <xs:complexType name="ArrayOfServerUserAndUser">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="ServerUserAndUser" nillable="true" type="tns:ServerUserAndUser" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfServerUserAndUser" nillable="true" type="tns:ArrayOfServerUserAndUser" />
  <xs:complexType name="ServerUserAndUser">
    <xs:sequence>
      <xs:element minOccurs="0" name="ServerUser" nillable="true" type="tns:ServerUser" />
      <xs:element minOccurs="0" name="ServerUserID" type="xs:int" />
      <xs:element minOccurs="0" name="User" nillable="true" type="tns:User" />
      <xs:element minOccurs="0" name="UserID" type="xs:int" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ServerUserAndUser" nillable="true" type="tns:ServerUserAndUser" />
  <xs:complexType name="ServerUser">
    <xs:sequence>
      <xs:element minOccurs="0" name="Enabled" type="xs:boolean" />
      <xs:element minOccurs="0" name="IsAdmin" type="xs:boolean" />
      <xs:element minOccurs="0" name="LoginName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Memo" nillable="true" type="xs:string" />
      <xs:element xmlns:q2="http://schemas.datacontract.org/2004/07/System.Data.Linq" minOccurs="0" name="PassWord" nillable="true" type="q2:Binary" />
      <xs:element minOccurs="0" name="ServerUserAndUsers" nillable="true" type="tns:ArrayOfServerUserAndUser" />
      <xs:element minOccurs="0" name="ServerUserID" type="xs:int" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ServerUser" nillable="true" type="tns:ServerUser" />
  <xs:complexType name="UserAccount">
    <xs:sequence>
      <xs:element minOccurs="0" name="Money" type="xs:decimal" />
      <xs:element minOccurs="0" name="User" nillable="true" type="tns:User" />
      <xs:element minOccurs="0" name="UserID" type="xs:int" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="UserAccount" nillable="true" type="tns:UserAccount" />
</xs:schema>